export interface CreateWaybillParams {
  trade_id: number;
  /**
   * 运单类型
   * 1 同城配送单 记录配送状态及时间路径信息
   * 2 三方配送单
   * 3 快递发货记录单 用于订单多次发货（未来还可用于周期购）
   */
  type: 1 | 2 | 3;
  /** 配送员 直接指派 如果不传则走抢单流程 */
  user_id?: number;
  /** 操作人员 */
  user_assign_id?: number;
}

export interface Dispatcher {
  dpid?: number;
  user_id?: number;
  name?: string;
  phone?: number;
  idcard?: string;
  status?: number;
  working?: number;
  wait_get_num?: number;
  wait_dispatch_num?: number;
  dispatch_num?: number;
  dispatch_today_num?: number;
  location_lat?: object;
  location_lng?: object;
  create_time?: number;
  update_time?: number;
}

export interface DispatcherShop {
  id?: number;
  shop_id?: number;
  shop_name?: string;
  type?: string;
  dpid?: number;
  user_id?: number;
  isdel?: number;
  status?: number;
  wait_get_num?: number;
  wait_dispatch_num?: number;
  dispatch_num?: number;
  dispatch_today_num?: number;
  create_time?: number;
  update_time?: number;
}
